
#region Imported Namespaces
using System;
using System.Collections;
using System.Data;
using System.Data.SqlClient;

using BO = PHSRAG.Insight21.BusinessObjects;
using DataAccess = PHSRAG.Utility.DataAccess;
using ICachePolicy = PHSRAG.Insight21.Policy.ICachePolicy;
#endregion

namespace PHSRAG.Insight21.Agreements
{
	/// <summary>
	/// Summary description for RelatedProtocols.
	/// </summary>
	public class RelatedProtocols: BO.BusinessObject
	{
		#region Constants

		private const string tableName = "RelatedProtocols";

		#endregion

		#region Properties

		public static string TableName
		{
			get{ return tableName; }
		}
		#endregion

		public RelatedProtocols(DataSet dataSet, ICachePolicy cachePolicy) : 
			base(cachePolicy)
		{
		}

		#region BusinessObject Methods
		public override void Cache()
		{
			//			CachePolicy.Cache(AgreementsKey, this);
		}

		public override void Load(string connectionString, params object[] args)
		{
			//			if (args.Length != 1)
			//				throw new Exception("Agreements load requires a domain user ID");
			//
			//			DataContainer =	DataAccess.GetDataSet(connectionString, "spKISSAgrQGetAgreementIDs",
			//				DataAccess.BuildSqlParameterArray("@domainUserID", SqlDbType.Int, (int)args[0]));
		}

		public override void UnCache()
		{
			//		CachePolicy.UnCache(AgreementsKey);
		}

		#endregion
	}
}
